<?php include incTemplate('header');?>
<script type="text/javascript">
	$(function(){
	$('#bannerflv').flash({
	src: '<?php echo HT?>
	images/banner.swf',
	width: 953,
	height: 382
	});
	});
</script>
<style>
	.bannerflash {
	height: 382px;
	}

	.box_2 div {
	float: left;
	}

	.news {
	width: 303px;
	}

	.proc {
	width: 650px;
	}

	.box_2 {
	height: 280px;
	}

	.top_img div {
	float: left;
	}

	.box .img_box {
	width: 145px;
	text-align:left;
	}

	.box .imgdesc_box {
	width: 140px;
	padding-top: 10px;
	color: #666666;
	text-align:left;
	line-height: 14pt;
	}
	.box .imgdesc_box2 {
	width: 210px;
	padding-top: 8px;
	color: #666666;
	line-height: 14pt;
	text-align:left;
	}

	.topimglist {
	margin-top: 5px;
	width:300px;
	margin-bottom:5px;
	}
	.topimglist ul{
	margin:0px;
	padding:0px;
	}
	.topimglist ul li {
	clear:both;
	line-height: 26px;
	height:26px;
	display:block;
	clear:both;
	text-align:left;
	overflow:hidden;
	}

	.icon_img {
	margin-left: 5px;
	margin-right: 5px;
	}
	.top_prod .box{
	width:380px;
	}
	.top_prod .box,.top_img .box {
	clear: both;
	margin-top: 5px;
	}

	.clear{clear:both;}
</style>
</head>
<body>
	<div class="container">
<?php include incTemplate('header_bar');?>
		<div class="bannerflash">
			<span id="bannerflv"></span>
		</div>
		<div class="box_2">
			<table style="width: 100%;">
				<tr>
					<td valign="top" width="303px">
						<div class="news">
							<img src="<?php echo HT;?>/images/index7_17.gif" />
							<div class="top_img">
								<div class="box">
									<div class="img_box">
										<a class="imga">
											<img src="<?php echo $news_img['imgurl'];?>" width="128"
												height="80" />
										</a>
									</div>
									<div class="imgdesc_box"><?php echo cut_str(strip_tags($news_img['content']),40);?>
									</div>
								</div>
								<div class="topimglist">
									<ul>
		<?php
		foreach ($news as $n){
			?>
										<li>
											<img class="icon_img" src="<?php echo HT;?>/images/icon-09.gif" /><?php echo $n['title'];?>
										</li>
			<?php
		}
		?>
									</ul>
								</div>
							</div>
							<div class="mgt_10" style="width:290px;text-align:right;padding-right:20px;">
								<a href="/index.php/news/index/1/10.html">
									<img src="<?php echo HT;?>/images/index7_30.gif" />
								</a>
							</div>
						</div>
					</td>
					<td valign="top" width="386px">
						<div class="proc" style="width:386px;">
							<img src="<?php echo HT;?>/images/index7_19.gif" />
							<div class="top_prod"><?php 
		foreach($product_imgs as $img){
			?>
								<div class="box">
									<div class="img_box">
										<a class="imga">
											  <?php 
		if($img['imgurl'] !=""){
			?> <img width="128" height="80"
						border="0" src="/<?php echo $img['imgurl'];?>"> <?php 
		}else{
			?> <img width="128" height="80"
						border="0" src="/attach/product/2011-12-30/050bbc3ef86de095a0c8b53f2e745ebe.jpg"> <?php 
		}
		?>


										</a>
									</div>
									<div
										style="text-align:left;padding-top: 8px; font-weight: bold;
        font-size: 12px;color: #666666;"><?php echo cut_str(strip_tags($img['pname']),20);?>
									</div>

									<div class="imgdesc_box2 "><?php echo cut_str(strip_tags($img['pdesc']),45);?>
									</div>
								</div>
		<?php
		}
		?>
								<div class="box"
									style="text-align:right;padding-right:20px;font-size: 12px;
    font-weight: bold;color: #666666;">
									<a href="/index.php/product/index/1/10.html">
										<img src="<?php echo HT;?>/images/index7_30.gif" />
									</a>
								</div>
							</div>
						</div>
					</td>
					<td valign="top">
						<img src="<?php echo HT;?>images/aboutus.png" width="260px" />
						<div style="line-height: 14pt;color: #696969;padding-top: 8px;text-align:left;">
							<p>
			<?php 
			if(lang=='cn'){
				echo  deletetrim(cut_str(strip_tags($aboutus[0]['content']), 190));
			}else{
				echo  cut_str(strip_tags($aboutus[0]['content']), 190);
			}
			
			?>
							</p>
						</div>
					</td>
				</tr>
			</table>
		</div>
		<?php include incTemplate('footer');?>
	</div>
</body>
</html>
